package com.food.user.service;

import com.food.user.dto.CartReturnDto;
import com.food.user.form.AddCartForm;
import com.food.user.form.UpdateCartCountForm;

import java.util.List;

public interface CartService {
    void add(AddCartForm form, Integer userId)throws Exception;

    boolean delete(Long foodInfoId,Integer userId) throws Exception;

    void update(UpdateCartCountForm form, Integer userId) throws Exception;

    List<CartReturnDto> showMyCart(Integer userId)throws Exception;
}
